//
//  HUD.m
//  FacePrice
//
//  Created by StevenHu on 15/3/23.
//  Copyright (c) 2015年 HCW. All rights reserved.
//

#import "HUD.h"
#import <UIKit/UIViewController.h>
@implementation HUD

+ (void)show
{
//    [HUD showLoading:@"加载中..."];
    [SVProgressHUD show];
}

+ (void)showLoading:(NSString *)msg
{
    [SVProgressHUD showWithStatus:msg maskType:SVProgressHUDMaskTypeClear];
}

+ (void)hide
{
    [SVProgressHUD dismiss];
}

+ (void)showMsg:(NSString *)msg
{
    [SVProgressHUD showInfoWithStatus:msg];
}

+ (void)showErrorMsg:(NSString *)msg
{
    [SVProgressHUD showErrorWithStatus:msg];
}

+ (void)showSucceedMsg:(NSString *)msg
{
    [SVProgressHUD showSuccessWithStatus:msg];
}



@end
